.class final Lcom/direction/hold/ui/j;
.super Ljava/lang/Thread;


# direct methods
.method constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 6

    const-string v5, "file"

    const-string v4, "Key_Pic_Loading10"

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    invoke-static {v0}, Lcn/cheln/explorer/func/a;->a(Landroid/content/Context;)V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    invoke-static {v0}, Lcn/cheln/explorer/actions/OperationUtil;->a(Landroid/content/Context;)V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    invoke-static {v0}, Lcn/cheln/explorer/beans/FileInfo;->b(Landroid/content/Context;)V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    invoke-static {v0}, Lcn/cheln/explorer/beans/ApkInfo;->a(Landroid/content/Context;)V

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    invoke-static {v0}, Lcn/cheln/support/app/d;->a(Landroid/content/Context;)V

    const/4 v0, 0x0

    :try_start_0
    sget-object v1, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    invoke-virtual {v1}, Lcom/direction/hold/FileApp;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    const-string v2, "com.lewa.app.filemanager"

    const/16 v3, 0x4000

    invoke-virtual {v1, v2, v3}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v1

    iget v1, v1, Landroid/content/pm/PackageInfo;->versionCode:I

    sput v1, Lcn/cheln/explorer/config/a;->e:I
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    sget v1, Lcn/cheln/explorer/config/a;->e:I

    const/4 v2, -0x1

    if-eq v1, v2, :cond_0

    sget v1, Lcn/cheln/explorer/config/a;->e:I

    const/16 v2, 0xa

    if-le v1, v2, :cond_0

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    const-string v1, "file"

    const-string v1, "Key_Pic_Loading10"

    const-class v1, Ljava/lang/Boolean;

    invoke-static {v0, v5, v4, v1}, Lcn/cheln/support/app/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/Boolean;

    if-eqz p0, :cond_1

    move-object v0, p0

    :cond_0
    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-nez v0, :cond_2

    :cond_1
    new-instance v0, Lcn/cheln/explorer/actions/OperationUtil;

    invoke-direct {v0}, Lcn/cheln/explorer/actions/OperationUtil;-><init>()V

    new-instance v1, Ljava/io/File;

    sget-object v2, Lcn/cheln/explorer/config/Constants;->b:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Lcn/cheln/explorer/actions/OperationUtil;->a(Ljava/io/File;)Z

    sget-object v0, Lcom/direction/hold/ui/SlideActivity;->b:Lcom/direction/hold/FileApp;

    const-string v1, "file"

    const-string v1, "Key_Pic_Loading10"

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-static {v0, v5, v4, v1}, Lcn/cheln/support/app/e;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V

    :cond_2
    return-void

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

    goto :goto_0
.end method
